package com.intellagric.controller.agritech.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: cwq
 * @Date: 2019/3/17 19:49
 * @Description:
 */
@Controller
public class PageController {

    @RequestMapping("/")
    public String index() {
        return "index";
    }

    @RequestMapping("/agritech/*")
    public String agritechDetail() {
        return "agriDetail_new";
    }

    @RequestMapping("/species/*")
    public String speciesDetail() {
        return "BDdetailInfo";
    }

    @RequestMapping("/article/*")
    public String articleDetail() {
        return "articleDetail_new";
    }

    @RequestMapping("/agritech")
    public String agritech() {
        return "productList_new";
    }

    @RequestMapping("/article")
    public String article() {
        return "information";
    }

    @RequestMapping("/about1")
    public String about() {
        return "about";
    }

    @RequestMapping("/login1")
    public String login() {
        return "login";
    }

    @RequestMapping("/register1")
    public String register() {
        return "register";
    }

}
